package com.igelato.controller.Shop;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;


@Data
public class ShopSearchDto implements Serializable {

    @ApiModelProperty("页码")
    Integer page_num = 1;

    @ApiModelProperty("每页多少条数据")
    Integer page_size = 10;

    private Integer id;

    private Integer city_id;

    private String shop_name;

    private String address;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("联系电话（有可能不是店长的手机号）（如果值为空则使用店长的手机号）")
    private String mobile;

    @ApiModelProperty("店长id")
    private Integer owner_id;

    @ApiModelProperty("开店时间")
    private LocalDate open_date;

    @ApiModelProperty("所有类别和商品列表（json）")
    private String cate_list_json;

    @ApiModelProperty("早上开门时间")
    private LocalTime open_time;

    @ApiModelProperty("晚上关门时间")
    private LocalTime close_time;

    @ApiModelProperty("配送范围（公里）")
    private Double delivery_scope;

    private Integer sort;

    @ApiModelProperty("1：展示；-1：不展示；")
    private Integer status;

    private LocalDateTime from_date;

    private LocalDateTime to_date;
}
